Builder

public final class Builder

A UrlRequestJob.Options builder.

Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
Adds the HTTP header to the list of the HTTP headers.
Link copied to clipboard
Returns a new UrlRequestJob.Options instance built from the current state of this builder.